package GuessGame;
import java.util.Arrays;
import java.util.Random;
import java.util.Scanner;

public class TestScanner {
	public static void main(String []args)
	{ 
		//Scanner scan = new Scanner(System.in);
		//int a = scan.nextInt();
		//System.out.println(a);
		//scan.close();
		buildChar();
		test();
	}
	public static void buildChar(){
		boolean[] flag = new boolean[26];
		Random ran = new Random();// 生成随机数种子
		//初始化bchar
		char[] bchar = new char[5];//12
		int tmp = 0;
		for(int i = 0; i < bchar.length; ++i)
		{
			//tmp = ran.nextInt(letterNum);
			do{ 
				tmp = ran.nextInt(26);
				
			}while(flag[tmp]==true);
			flag[tmp]=true;
			bchar[i] = (char)(tmp+65);
		}
		
		System.out.println(Arrays.toString(bchar));
		//return bchar;
	}
	public static void test()
	{ 
		Scanner scan = new Scanner(System.in);
		String s = scan.next().trim().toUpperCase();
		char[] arr = s.toCharArray();
		System.out.println(Arrays.toString(arr));
		scan.close();
	}
	
	
}
